[INFO] cloning repository https://github.com/OptimisticAtom/molar_system
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/OptimisticAtom/molar_system" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOptimisticAtom%2Fmolar_system", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOptimisticAtom%2Fmolar_system'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 7ea7ba9a1390a65670877abb4a1036246e9a4318
[INFO] checking OptimisticAtom/molar_system against master#9610dfe5a9a731ced1ea4923ecbd0c57fe367898 for beta-170-4
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOptimisticAtom%2Fmolar_system" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/OptimisticAtom/molar_system on toolchain 9610dfe5a9a731ced1ea4923ecbd0c57fe367898
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9610dfe5a9a731ced1ea4923ecbd0c57fe367898" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/OptimisticAtom/molar_system
[INFO] finished tweaking git repo https://github.com/OptimisticAtom/molar_system
[INFO] tweaked toml for git repo https://github.com/OptimisticAtom/molar_system written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/OptimisticAtom/molar_system already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9610dfe5a9a731ced1ea4923ecbd0c57fe367898" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded sdl2-sys v0.34.2
[INFO] [stderr]   Downloaded sdl2 v0.34.2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+9610dfe5a9a731ced1ea4923ecbd0c57fe367898" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 07967120a79672fae71f850c9f70b8e97eaa7746220ac4764a738f5d6048f5ff
[INFO] running `Command { std: "docker" "start" "-a" "07967120a79672fae71f850c9f70b8e97eaa7746220ac4764a738f5d6048f5ff", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "07967120a79672fae71f850c9f70b8e97eaa7746220ac4764a738f5d6048f5ff", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "07967120a79672fae71f850c9f70b8e97eaa7746220ac4764a738f5d6048f5ff", kill_on_drop: false }`
[INFO] [stdout] 07967120a79672fae71f850c9f70b8e97eaa7746220ac4764a738f5d6048f5ff
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+9610dfe5a9a731ced1ea4923ecbd0c57fe367898" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 0fec4d7b610d3d2341fb0f4edf79d82ab3fe3e8654c9c78ebcf8fa49c30ab8c1
[INFO] running `Command { std: "docker" "start" "-a" "0fec4d7b610d3d2341fb0f4edf79d82ab3fe3e8654c9c78ebcf8fa49c30ab8c1", kill_on_drop: false }`
[INFO] [stderr]    Compiling num-traits v0.2.12
[INFO] [stderr]    Compiling libc v0.2.74
[INFO] [stderr]    Compiling log v0.4.11
[INFO] [stderr]    Compiling num-integer v0.1.43
[INFO] [stderr]    Compiling typenum v1.12.0
[INFO] [stderr]    Compiling rand v0.6.5
[INFO] [stderr]    Compiling version-compare v0.0.10
[INFO] [stderr]    Compiling xml-rs v0.7.0
[INFO] [stderr]    Compiling sdl2 v0.34.2
[INFO] [stderr]    Compiling sdl2-sys v0.34.2
[INFO] [stderr]    Compiling gl_generator v0.9.0
[INFO] [stderr]     Checking rand_os v0.1.3
[INFO] [stderr]    Compiling gl v0.10.0
[INFO] [stderr]     Checking approx v0.3.2
[INFO] [stderr]     Checking num-complex v0.2.4
[INFO] [stderr]     Checking generic-array v0.12.3
[INFO] [stderr]     Checking num-rational v0.2.4
[INFO] [stderr]     Checking alga v0.9.3
[INFO] [stderr]     Checking nalgebra v0.18.1
[INFO] [stderr]     Checking gl_api v0.1.0 (/opt/rustwide/workdir/gl_api)
[INFO] [stderr]     Checking science v0.1.0 (/opt/rustwide/workdir/science)
[INFO] [stdout] warning: trailing semicolon in macro used in expression position
[INFO] [stdout]    --> gl_api/src/graphics.rs:140:44
[INFO] [stdout]     |
[INFO] [stdout] 140 |         Shader::create_shader($code, $type);
[INFO] [stdout]     |                                            ^
[INFO] [stdout] ...
[INFO] [stdout] 192 |         let vertex_shader = create_new_shader!(vertex_code, gl::VERTEX_SHADER);
[INFO] [stdout]     |                             -------------------------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #79813 <https://github.com/rust-lang/rust/issues/79813>
[INFO] [stdout]     = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default
[INFO] [stdout]     = note: this warning originates in the macro `create_new_shader` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trailing semicolon in macro used in expression position
[INFO] [stdout]    --> gl_api/src/graphics.rs:140:44
[INFO] [stdout]     |
[INFO] [stdout] 140 |         Shader::create_shader($code, $type);
[INFO] [stdout]     |                                            ^
[INFO] [stdout] ...
[INFO] [stdout] 193 |         let geometry_shader = create_new_shader!(geometry_code, gl::GEOMETRY_SHADER);
[INFO] [stdout]     |                               ------------------------------------------------------ in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #79813 <https://github.com/rust-lang/rust/issues/79813>
[INFO] [stdout]     = note: this warning originates in the macro `create_new_shader` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trailing semicolon in macro used in expression position
[INFO] [stdout]    --> gl_api/src/graphics.rs:140:44
[INFO] [stdout]     |
[INFO] [stdout] 140 |         Shader::create_shader($code, $type);
[INFO] [stdout]     |                                            ^
[INFO] [stdout] ...
[INFO] [stdout] 194 |         let fragment_shader = create_new_shader!(fragment_code, gl::FRAGMENT_SHADER);
[INFO] [stdout]     |                               ------------------------------------------------------ in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #79813 <https://github.com/rust-lang/rust/issues/79813>
[INFO] [stdout]     = note: this warning originates in the macro `create_new_shader` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `name`, `atomic_number`, `atomic_mass`, `electro_negativity`, and `valence_electrons` are never read
[INFO] [stdout]  --> science/src/chemistry.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct Element{
[INFO] [stdout]   |            ------- fields in this struct
[INFO] [stdout] 4 |     name: String,
[INFO] [stdout]   |     ^^^^
[INFO] [stdout] 5 |     atomic_number: i8,
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 6 |     atomic_mass: f64,
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 7 |     electro_negativity: f64,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 8 |     valence_electrons: i8,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `GRAV` is never used
[INFO] [stdout]  --> science/src/physics.rs:5:7
[INFO] [stdout]   |
[INFO] [stdout] 5 | const GRAV: f64 = 6.67408e-11;
[INFO] [stdout]   |       ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `direction` and `magnitude` are never read
[INFO] [stdout]  --> science/src/physics.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub struct Force{
[INFO] [stdout]   |            ----- fields in this struct
[INFO] [stdout] 8 |     direction: f64,//theta
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout] 9 |     magnitude: f64,//Newtons
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `shader_type` is never read
[INFO] [stdout]   --> gl_api/src/graphics.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | struct Shader {
[INFO] [stdout]    |        ------ field in this struct
[INFO] [stdout] 14 |     gl_handle: u32,
[INFO] [stdout] 15 |     shader_type: gl::types::GLenum,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Shader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 4 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking game_objects v0.1.0 (/opt/rustwide/workdir/game_objects)
[INFO] [stdout] error[E0425]: cannot find value `dx` in this scope
[INFO] [stdout]   --> game_objects/src/entities.rs:21:9
[INFO] [stdout]    |
[INFO] [stdout] 21 |         dx = force_g * a / self.mass;
[INFO] [stdout]    |         ^^
[INFO] [stdout]    |
[INFO] [stdout] help: you might have meant to introduce a new binding
[INFO] [stdout]    |
[INFO] [stdout] 21 |         let dx = force_g * a / self.mass;
[INFO] [stdout]    |         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `dy` in this scope
[INFO] [stdout]   --> game_objects/src/entities.rs:22:9
[INFO] [stdout]    |
[INFO] [stdout] 22 |         dy = force_g * b / self.mass;
[INFO] [stdout]    |         ^^
[INFO] [stdout]    |
[INFO] [stdout] help: you might have meant to introduce a new binding
[INFO] [stdout]    |
[INFO] [stdout] 22 |         let dy = force_g * b / self.mass;
[INFO] [stdout]    |         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `dx` in this scope
[INFO] [stdout]   --> game_objects/src/entities.rs:23:22
[INFO] [stdout]    |
[INFO] [stdout] 23 |         Vector2::new(dx, dy)
[INFO] [stdout]    |                      ^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `dy` in this scope
[INFO] [stdout]   --> game_objects/src/entities.rs:23:26
[INFO] [stdout]    |
[INFO] [stdout] 23 |         Vector2::new(dx, dy)
[INFO] [stdout]    |                          ^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `dx` in this scope
[INFO] [stdout]   --> game_objects/src/entities.rs:28:9
[INFO] [stdout]    |
[INFO] [stdout] 28 |         dx = magnitude * cos(force.direction);
[INFO] [stdout]    |         ^^
[INFO] [stdout]    |
[INFO] [stdout] help: you might have meant to introduce a new binding
[INFO] [stdout]    |
[INFO] [stdout] 28 |         let dx = magnitude * cos(force.direction);
[INFO] [stdout]    |         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `dy` in this scope
[INFO] [stdout]   --> game_objects/src/entities.rs:29:9
[INFO] [stdout]    |
[INFO] [stdout] 29 |         dy = magnitude * sin(force.direction);
[INFO] [stdout]    |         ^^
[INFO] [stdout]    |
[INFO] [stdout] help: you might have meant to introduce a new binding
[INFO] [stdout]    |
[INFO] [stdout] 29 |         let dy = magnitude * sin(force.direction);
[INFO] [stdout]    |         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `dx` in this scope
[INFO] [stdout]   --> game_objects/src/entities.rs:30:36
[INFO] [stdout]    |
[INFO] [stdout] 30 |         let new_vec = Vector2::new(dx, dy);
[INFO] [stdout]    |                                    ^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `dy` in this scope
[INFO] [stdout]   --> game_objects/src/entities.rs:30:40
[INFO] [stdout]    |
[INFO] [stdout] 30 |         let new_vec = Vector2::new(dx, dy);
[INFO] [stdout]    |                                        ^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::f32::consts::PI`
[INFO] [stdout]  --> game_objects/src/basic.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::f32::consts::PI;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: missing generics for type alias `nalgebra::Vector2`
[INFO] [stdout]    --> game_objects/src/entities.rs:15:57
[INFO] [stdout]     |
[INFO] [stdout] 15  |     pub fn gravitation_vector(&self, planet: Planet) -> Vector2{
[INFO] [stdout]     |                                                         ^^^^^^^ expected 1 generic argument
[INFO] [stdout]     |
[INFO] [stdout] note: type alias defined here, with 1 generic parameter: `N`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/nalgebra-0.18.1/src/base/alias.rs:130:10
[INFO] [stdout]     |
[INFO] [stdout] 130 | pub type Vector2<N> = VectorN<N, U2>;
[INFO] [stdout]     |          ^^^^^^^ -
[INFO] [stdout] help: add missing generic argument
[INFO] [stdout]     |
[INFO] [stdout] 15  |     pub fn gravitation_vector(&self, planet: Planet) -> Vector2<N>{
[INFO] [stdout]     |                                                                +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `cos` in this scope
[INFO] [stdout]   --> game_objects/src/entities.rs:28:26
[INFO] [stdout]    |
[INFO] [stdout] 28 |         dx = magnitude * cos(force.direction);
[INFO] [stdout]    |                          ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `sin` in this scope
[INFO] [stdout]   --> game_objects/src/entities.rs:29:26
[INFO] [stdout]    |
[INFO] [stdout] 29 |         dy = magnitude * sin(force.direction);
[INFO] [stdout]    |                          ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 11 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0107, E0425.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0107`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `game_objects` (lib) due to 12 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "0fec4d7b610d3d2341fb0f4edf79d82ab3fe3e8654c9c78ebcf8fa49c30ab8c1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0fec4d7b610d3d2341fb0f4edf79d82ab3fe3e8654c9c78ebcf8fa49c30ab8c1", kill_on_drop: false }`
[INFO] [stdout] 0fec4d7b610d3d2341fb0f4edf79d82ab3fe3e8654c9c78ebcf8fa49c30ab8c1
